3.4.83 \(\int (d+e x) (a+c x^2)^2 \, dx\)

Optimal. Leaf size=45 \[ a^2 d x+\frac {2}{3} a c d x^3+\frac {e \left (a+c x^2\right )^3}{6 c}+\frac {1}{5} c^2 d x^5 \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {641, 194} \begin {gather*} a^2 d x+\frac {2}{3} a c d x^3+\frac {e \left (a+c x^2\right )^3}{6 c}+\frac {1}{5} c^2 d x^5 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x)*(a + c*x^2)^2,x]

[Out]

a^2*d*x + (2*a*c*d*x^3)/3 + (c^2*d*x^5)/5 + (e*(a + c*x^2)^3)/(6*c)

Rule 194

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n)^p, x], x] /; FreeQ[{a, b}, x]
&& IGtQ[n, 0] && IGtQ[p, 0]

Rule 641

Int[((d_) + (e_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(e*(a + c*x^2)^(p + 1))/(2*c*(p + 1)),
x] + Dist[d, Int[(a + c*x^2)^p, x], x] /; FreeQ[{a, c, d, e, p}, x] && NeQ[p, -1]

Rubi steps

\begin {align*} \int (d+e x) \left (a+c x^2\right )^2 \, dx &=\frac {e \left (a+c x^2\right )^3}{6 c}+d \int \left (a+c x^2\right )^2 \, dx\\ &=\frac {e \left (a+c x^2\right )^3}{6 c}+d \int \left (a^2+2 a c x^2+c^2 x^4\right ) \, dx\\ &=a^2 d x+\frac {2}{3} a c d x^3+\frac {1}{5} c^2 d x^5+\frac {e \left (a+c x^2\right )^3}{6 c}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 60, normalized size = 1.33 \begin {gather*} a^2 d x+\frac {1}{2} a^2 e x^2+\frac {2}{3} a c d x^3+\frac {1}{2} a c e x^4+\frac {1}{5} c^2 d x^5+\frac {1}{6} c^2 e x^6 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)*(a + c*x^2)^2,x]

[Out]

a^2*d*x + (a^2*e*x^2)/2 + (2*a*c*d*x^3)/3 + (a*c*e*x^4)/2 + (c^2*d*x^5)/5 + (c^2*e*x^6)/6

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (d+e x) \left (a+c x^2\right )^2 \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(d + e*x)*(a + c*x^2)^2,x]

[Out]

IntegrateAlgebraic[(d + e*x)*(a + c*x^2)^2, x]

________________________________________________________________________________________

fricas [A]  time = 0.35, size = 50, normalized size = 1.11 \begin {gather*} \frac {1}{6} x^{6} e c^{2} + \frac {1}{5} x^{5} d c^{2} + \frac {1}{2} x^{4} e c a + \frac {2}{3} x^{3} d c a + \frac {1}{2} x^{2} e a^{2} + x d a^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x^2+a)^2,x, algorithm="fricas")

[Out]

1/6*x^6*e*c^2 + 1/5*x^5*d*c^2 + 1/2*x^4*e*c*a + 2/3*x^3*d*c*a + 1/2*x^2*e*a^2 + x*d*a^2

________________________________________________________________________________________

giac [A]  time = 0.19, size = 53, normalized size = 1.18 \begin {gather*} \frac {1}{6} \, c^{2} x^{6} e + \frac {1}{5} \, c^{2} d x^{5} + \frac {1}{2} \, a c x^{4} e + \frac {2}{3} \, a c d x^{3} + \frac {1}{2} \, a^{2} x^{2} e + a^{2} d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x^2+a)^2,x, algorithm="giac")

[Out]

1/6*c^2*x^6*e + 1/5*c^2*d*x^5 + 1/2*a*c*x^4*e + 2/3*a*c*d*x^3 + 1/2*a^2*x^2*e + a^2*d*x

________________________________________________________________________________________

maple [A]  time = 0.04, size = 51, normalized size = 1.13 \begin {gather*} \frac {1}{6} c^{2} e \,x^{6}+\frac {1}{5} c^{2} d \,x^{5}+\frac {1}{2} a c e \,x^{4}+\frac {2}{3} a c d \,x^{3}+\frac {1}{2} a^{2} e \,x^{2}+a^{2} d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)*(c*x^2+a)^2,x)

[Out]

1/6*c^2*e*x^6+1/5*c^2*d*x^5+1/2*a*c*e*x^4+2/3*a*c*d*x^3+1/2*a^2*e*x^2+a^2*d*x

________________________________________________________________________________________

maxima [A]  time = 1.33, size = 50, normalized size = 1.11 \begin {gather*} \frac {1}{6} \, c^{2} e x^{6} + \frac {1}{5} \, c^{2} d x^{5} + \frac {1}{2} \, a c e x^{4} + \frac {2}{3} \, a c d x^{3} + \frac {1}{2} \, a^{2} e x^{2} + a^{2} d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x^2+a)^2,x, algorithm="maxima")

[Out]

1/6*c^2*e*x^6 + 1/5*c^2*d*x^5 + 1/2*a*c*e*x^4 + 2/3*a*c*d*x^3 + 1/2*a^2*e*x^2 + a^2*d*x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 50, normalized size = 1.11 \begin {gather*} \frac {e\,a^2\,x^2}{2}+d\,a^2\,x+\frac {e\,a\,c\,x^4}{2}+\frac {2\,d\,a\,c\,x^3}{3}+\frac {e\,c^2\,x^6}{6}+\frac {d\,c^2\,x^5}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + c*x^2)^2*(d + e*x),x)

[Out]

(a^2*e*x^2)/2 + (c^2*d*x^5)/5 + (c^2*e*x^6)/6 + a^2*d*x + (2*a*c*d*x^3)/3 + (a*c*e*x^4)/2

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 58, normalized size = 1.29 \begin {gather*} a^{2} d x + \frac {a^{2} e x^{2}}{2} + \frac {2 a c d x^{3}}{3} + \frac {a c e x^{4}}{2} + \frac {c^{2} d x^{5}}{5} + \frac {c^{2} e x^{6}}{6} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x**2+a)**2,x)

[Out]

a**2*d*x + a**2*e*x**2/2 + 2*a*c*d*x**3/3 + a*c*e*x**4/2 + c**2*d*x**5/5 + c**2*e*x**6/6

________________________________________________________________________________________